Wireless connection method, machine-readable storage medium and electronic device using out-of band channel

ABSTRACT

A wireless connection method between a plurality of electronic devices using an out of band channel is provided. The wireless connection method includes receiving a first hash value through the out of band channel, receiving device identification information of electronic devices in proximity to an electronic device through a main wireless channel, calculating hash values of the device identification information, and performing a wireless connection of the electronic device with a surrounding electronic device that has the hash value identical to the first hash value among the calculated hash values.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application claims the benefit under 35 U.S.C. §119(a) of a Koreanpatent application filed on Apr. 24, 2013 in the Korean IntellectualProperty Office and assigned Serial number 10-2013-0045520, the entiredisclosure of which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to a communication method betweenelectronic devices. More particularly, the present disclosure relates toa wireless connection method between electronic devices.

BACKGROUND

Most electronic devices transmit and receive content data to and fromother electronic devices through a wireless interface. For example, sucha wireless interface includes a Wireless Fidelity (WiFi), a WiFi-Direct,a Near Field Communication (NFC), and the like.

One issue that affects the use of the wireless interface is that asetting up of a wireless communication link is complex. Further, aconventional wireless connection method has inconvenience in use becausea corresponding communication module has to be manually activated.

Meanwhile, when an out of band channel is used, a wireless connectionprocedure can be simplified in comparison with the above-mentionedgeneral wireless interfaces.

Device identification information should be stored in order towirelessly connect electronic devices with one another, which includes anetwork address of 48 bits, a device identifier of 8˜258 bits, anauthorization information/encryption type of 2˜4 bits, and authorizationinformation of 14-256 bits. Therefore, entire capacity of the out ofband channel must be 72-564 bits.

However, the out of band channel has a problem in that a data rate isslow and a small amount of data is transmitted.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described below.

An aspect of the present disclosure is to provide a method of rapidlyand simply establishing a wireless connection procedure using an out ofband channel with low capacity.

In accordance with an aspect of the present disclosure, a wirelessconnection method between plural electronic devices using an out of bandchannel is provided. The wireless connection method includes receiving,by an electronic device, a first hash value through the out of bandchannel, receiving, by the electronic device, device identificationinformation of surrounding electronic devices in proximity to theelectronic device through a main wireless channel, calculating, by theelectronic device, hash values of the device identification information,and performing, by the electronic device, a wireless connection with oneof the surrounding electronic devices corresponding to the hash valueidentical to the first hash value among the calculated hash values.

In accordance with another aspect of the present disclosure, anelectronic device using an out of band channel is provided. Theelectronic device includes a communication unit configured tocommunicate with surrounding electronic devices, a storage unitconfigured to store data, and a controller configured to receive andstore a first hash value through the out of band channel provided by thecommunication unit, to receive second device identification informationof a surrounding electronic device through a main wireless channelprovided by the communication unit, to calculate a second hash valuebased on the second device identification information, and to perform awireless connection with the surrounding electronic device through themain wireless channel if the second hash value is identical to the firsthash value.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 is a block diagram illustrating a first electronic deviceaccording to an embodiment of the present disclosure;

FIG. 2 is a perspective view illustrating a front surface of the firstelectronic device according to an embodiment of the present disclosure;

FIG. 3 is a perspective view illustrating a rear surface of the firstelectronic device according to an embodiment of the present disclosure;

FIG. 4 is a block diagram of the first electronic device for performinga wireless connection method using an out of band channel according toan embodiment of the present disclosure;

FIG. 5 is a flowchart illustrating a wireless connection method using anout of band channel according to a first embodiment of the presentdisclosure;

FIG. 6 is a schematic view illustrating the wireless connection methodusing the out of band channel according to an embodiment of the presentdisclosure;

FIG. 7 is a flowchart illustrating a wireless connection method using anout of band channel according to a second embodiment of the presentdisclosure;

FIG. 8 is a schematic view illustrating the wireless connection methodusing the out of band channel according to an embodiment of the presentdisclosure; and

FIG. 9 is a view illustrating a frame structure of a message fortransmitting a first hash value according to an embodiment of thepresent disclosure.

Throughout the drawings, it should be noted that like reference numbersare used to depict the same or similar elements, features, andstructures.

DETAILED DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skill in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness.

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

While terms including ordinal numbers, such as “first” and “second,”etc., may be used to describe various components, such components arenot limited by the above terms. The terms are used merely for thepurpose to distinguish an element from the other elements. For example,a first element could be termed a second element, and similarly, asecond element could be also termed a first element without departingfrom the scope of the present disclosure. As used herein, the term“and/or” includes any and all combinations of one or more of theassociated listed items.

The terms used in this application is for the purpose of describingparticular embodiments only and is not intended to be limiting of thedisclosure. As used herein, the singular forms are intended to includethe plural forms as well, unless the context clearly indicatesotherwise. The terms such as “include” and/or “have” may be construed todenote a certain characteristic, number, step, operation, constituentelement, component or a combination thereof, but may not be construed toexclude the existence of or a possibility of addition of one or moreother characteristics, numbers, steps, operations, constituent elements,components or combinations thereof.

Unless defined otherwise, all terms used herein have the same meaning ascommonly understood by those of skill in the art. Such terms as thosedefined in a generally used dictionary are to be interpreted to have themeanings equal to the contextual meanings in the relevant field of art,and are not to be interpreted to have ideal or excessively formalmeanings unless clearly defined in the present specification. Such termsas those defined in a generally used dictionary are to be interpreted tohave the meanings equal to the contextual meanings in the relevant fieldof art, and are not to be interpreted to have ideal or excessivelyformal meanings unless clearly defined in the present specification.

The electronic device of the present disclosure may be a certain device,and may be referred to as a portable device, a mobile terminal, acommunication terminal, a portable communication terminal, a portableand mobile terminal and so on.

For example, the electronic device may be a smartphone, a portablephone, a game player, a Television (TV), a display unit, a heads-updisplay unit for a vehicle, a notebook computer, a laptop computer, atablet Personal Computer (PC), a Personal Media Player (PMP), a PersonalDigital Assistant (PDA), or the like. The electronic device may beimplemented as a portable communication terminal which has a wirelesscommunication function and a size suitable for placement in a user'spocket. Further, the electronic device may be a flexible device or aflexible display unit.

A representative structure of the electronic device refers to a portabledevice, and some structural elements of the representative structure ofthe electronic device may be omitted or changed if necessary.

FIG. 1 is a block diagram illustrating a first electronic deviceaccording to a preferred embodiment of the present disclosure.

Referring to FIG. 1, the first electronic device 100 may be connectedwith an external electronic device (not shown) by using at least one ofa communication unit 120, a connector 165, and an earphone connectingjack 167. The external device includes one of various devices attachedto or detached from the first electronic device 100 and connected to thefirst electronic device 100 through a wired cable, such as an earphone,an external speaker, a Universal Serial Bus (USB) memory, a charger, acradle/dock, a Digital Multimedia Broadcasting (DMB) antenna, a mobilepayment device, a health care device (blood-sugar meter or the like), agame player, a navigation device for a vehicle, and the like. Further,an external electronic device may include a Bluetooth communicationdevice, a Near Field Communication (NFC) device, a Wireless Fidelity(WiFi) Direct communication device, and a wireless Access Point (AP)which can be wirelessly connected. In addition, the first electronicdevice 100 may be connected through a wired cable or radio with anotherportable terminal or another electronic device, for example, one of amobile phone, a smart phone, a tablet PC, a desktop PC, and a server.

Referring to FIG. 1, an example of the first electronic device 100includes at least one touch screen 190 and at least one touch screencontroller 195. Further, the first electronic device 100 may include acontroller 110, a communication unit 120, a multimedia module 140, acamera module 150, an input/output module 160, a sensor module 170, astorage unit 175 and an electric power supply unit 180.

The communication unit 120 includes a mobile communication module 121, asub-communication module 130 and a broadcasting communication module141.

The sub-communication module 130 includes at least one of a wirelessLocal Area Network (LAN) module 131 and a short range communicationmodule 132, and the multimedia module 140 includes at least one of anaudio reproduction module 142 and a video reproduction module 143. Thecamera module 150 includes at least one of a first camera 151 and asecond camera 152. Further, the camera module 150 of the firstelectronic device 100 according to the present disclosure includes atleast one of a barrel 155 for zooming in/zooming out the first and/orsecond cameras 151 and 152, a motor 154 for controlling a motion of thebarrel 155 to zoom in/zoom out the barrel 155, and a flash 153 forproviding a light for photographing. The input/output module 160includes at least one of a button 161, a microphone 162, a speaker 163,a vibration device 164, a connector 165, and a keypad 166.

The controller 110 may include a Central Processing Unit (CPU) 111, aRead Only Memory (ROM) 112 in which a control program for a control ofthe first electronic device 100 is stored, and a Random Access Memory(RAM) 113 which stores signals or data input from outside of the firstelectronic device 100, or is used as a storage region for operationsperformed by the first electronic device 100. The CPU 111 includes anysuitable number of processing cores such as a single core CPU, a dualcore CPU, a triple core CPU, or a quadruple core CPU. The CPU 111, theROM 112, and the RAM 113 may be mutually connected to one anotherthrough an internal bus.

Further, the controller 110 can control the communication unit 120, themultimedia module 140, the camera module 150, the input/output module160, the sensor module 170, the storage unit 175, the electric powersupply unit 180, the touch screen 190, and the touch screen controller195.

The controller 110 detects a user input that is provided via an inputunit 168 or a touchable user input means such as when a user's fingertouches or approaches one object or is located close to the object in astate where a plurality of objects or items are displayed on the touchscreen 190, and identifies an object corresponding to a position of thetouch screen 190 where the user input is generated. The user inputthrough the touch screen 190 includes one of a direct touch input ofdirectly touching the object and a hovering input which is an indirecttouch input of approaching the object within a preset recognition rangebut not directly touching the object. For example, when the input unit168 is located close to the touch screen 190, an object located directlyunder the input unit 168 may be selected. According to the presentdisclosure, user inputs may also include a gesture input through thecamera module 150, a switch/button input through the button 161 or thekeypad 166, a voice input through the microphone 162 or the like aswell, as the user input through the touch screen 190.

The object or item (or function item) may be displayed on the touchscreen 190 of the first electronic device 100. For example, the objector item indicates at least one of an application, a menu, a document, awidget, a picture, a video, an E-mail, a Short Message Service (SMS)message, and a Multimedia Message Service (MMS) message, and may beselected, executed, deleted, canceled, stored, and changed by a userinput means. The item may include a button, an icon (or short-cut icon),a thumbnail image, or a folder storing at least one object in theelectronic device. Further, the item may be displayed in the form of animage, a text or the like.

The short-cut icon is an image displayed on the touch screen 190 of thefirst electronic device for rapid execution of each application, a voicecall, an address book, a menu or the like which is provided to the firstelectronic device 100, and executes a corresponding application when aninstruction or a selection for the execution of the short-cut icon isinput.

Further, the controller 110 can detect a user input event such as ahovering event when the input unit 168 approaches the touch screen 190or is located proximate to the touch screen 190.

When a user input event is generated according to a preset item or in apreset manner, the controller 110 performs a preset program operationcorresponding to the user input event.

The controller 110 can output a control signal to the input unit 168 orthe vibration device 164. The control signal includes informationrelated to a vibration pattern, and the input unit 168 or the vibrationdevice 164 generates a vibration according to the vibration pattern. Theinformation related to the vibration pattern may indicate the vibrationpattern itself, an indicator of the vibration pattern, or the like.Alternatively, the control signal may include only a request forgenerating the vibration.

The first electronic device 100 may include at least one of the mobilecommunication module 121, the wireless LAN module 131, and the shortrange communication module 132 according to the performance thereof.

The mobile communication module 121 enables the first electronic device100 to be connected with an external electronic device through mobilecommunication network by using one antenna or a plurality of antennas(not shown). The mobile communication module 121 transmits and receivesa wireless signal for a voice call, a video call, a SMS, or a MMS toand/or from a portable phone (not shown), a smart phone (not shown), atablet PC, or another device (not shown) having a phone number inputinto the first electronic device 100.

The sub-communication module 130 includes at least one of the wirelessLAN module 131 and the short range communication module 132. Forexample, the sub-communication module 130 may include only the wirelessLAN module 131, only the short range communication module 132, or boththe wireless LAN module 131 and the short range communication module132.

The wireless LAN module 131 may be connected to the Internet via awireless AP (not shown) is installed. The wireless LAN module 131supports a wireless LAN standard of the Institute of Electrical andElectronics Engineers (IEEE) such IEEE 802.11n or IEEE 802.11ac. Theshort range communication module 132 may wirelessly perform short rangecommunication between the first electronic device 100 and an externalelectronic device, under a control of the controller 110. Acommunication scheme (or communication protocol) of the wireless LANmodule 131 and the short range communication module 132 may include aBluetooth communication scheme, an Infrared Data Association (IrDA)communication scheme, a WiFi communication scheme, a WiFi-Directcommunication scheme, a NFC scheme or the like. The NFC communicationscheme corresponds to an example of a magnetic field communicationscheme.

The broadcasting communication module 141 can receive a broadcastingsignal (for example, a TV broadcasting signal, a radio broadcastingsignal, or a data broadcasting signal) and broadcast of supplementalinformation (for example, Electronic Program Guide (EPG) or ElectronicService Guide (ESG)) from a broadcasting station through a broadcastingand communication antenna (not shown).

The multimedia module 140 may include the audio reproduction module 142or the video reproduction module 143. The audio reproduction module 142can reproduce a digital audio file (for example, a multimedia filehaving a file extension of mp3, wma, ogg, or way) which is stored orreceived in the storage unit 175. The video reproduction module 143 canreproduce a received or stored digital video file (for example, amultimedia file having a file extension of mpeg, mpg, mp4, avi, mov, ormkv) stored or received. The video reproduction module 143 can alsoreproduce the digital audio file.

The multimedia module 140 may be integrated into the controller 110.

The camera module 150 includes at least one of the first camera 151 andthe second camera 152 for photographing a still image or a video.Further, the camera module 150 may include at least one of the barrel155 that performs a zoom-in/out operation for photographing the subject,the motor 154 for controlling a motion of the barrel 155, and the flash153 for providing an auxiliary light for photographing the subject. Thefirst camera 151 may be disposed on a front surface of the firstelectronic device 100, and the second camera 152 may be arranged on arear surface of the first electronic device 100.

Each of the first and second cameras 151 and 152 may include a lenssystem, an image sensor and the like. The first and second cameras 151and 152 convert an optical signal input (or photographed) through thelens system to an electric image signal (or digital image), and outputthe converted image signal to the controller 110. Thus, the user canphotograph a video or a still image through the first and second cameras151 and 152.

The input/output module 160 includes at least one button 161, at leastone microphone 162, at least one speaker 163, at least one vibrationdevice 164, the connector 165, the keypad 166, the earphone connectionjack 167, and the input unit 168. The input/output module 160 is notlimited thereto, and a mouse, a trackball, a joystick, or a cursorcontrol such as cursor direction keys may be provided for controlling amotion of a cursor on the touch screen 190.

The button 161 may be formed on a front surface, a side surface, or arear surface of the housing (or case) of the first electronic device100, and may include at least one of an electric power/lock button, avolume control button, a menu button, a home button, a back button, anda search button.

The microphone 162 receives a voice or a sound to generate an electricalsignal according to a control of the controller 110.

The speaker 163 may output sounds corresponding to various signals ordata (for example, wireless data, broadcasting data, digital audio data,digital video data or the like) to the external environment of the firstelectronic device 100, under a control of the controller 110. Thespeaker 163 may output a sound (for example, button tone correspondingto phone communication, ringing tone, and a voice of another user)corresponding to a function performed by the first electronic device100. One speaker 163 or a plurality of speakers 163 may be arranged atany suitable position or positions of the housing of the firstelectronic device 100.

The vibration device 164 can convert an electrical signal to amechanical vibration under a control of the controller 110. For example,when the first electronic device 100 is placed in a vibration mode andreceives a voice call or a video call from another device (not shown),the vibration device 164 operates to provide a vibration. One or morevibration devices 164 may be arranged in the housing of the firstelectronic device 100. The vibration device 164 can operate incorrespondence to a user input through the touch screen 190.

The connector 165 may be used as an interface for connecting the firstelectronic device with an external electronic device or an electricpower source (not shown). The controller 110 may transmit data stored inthe storage unit 175 to an external electronic device or receive datafrom an external electronic device through a wired cable connected tothe connector 165. The first electronic device 100 may receive electricpower from the electric power source through the wired cable connectedto the connector 165 or charge a battery (not shown) by using theelectric power source.

The keypad 166 may receive a key input from the user for the control ofthe first electronic device 100. The keypad 166 may include a physicalkeypad (not shown) arranged on the first electronic device 100 or avirtual keypad (not shown) displayed on the touch screen 190. Thephysical keypad arranged on the electronic device 100 may be excludedaccording to the performance or structure of the first electronic device100.

An earphone (not shown) may be inserted into the earphone connectingjack 167 to be connected with the first electronic device 100.

The input unit 168 may be inserted and stored in the first electronicdevice 100, or drawn back or separated from the first electronic device100. An attachment/detachment recognition switch 169 which operatesaccording to the attachment and/or detachment of the input unit 168 andis located in an area that the input unit 168 is inserted. Theattachment/detachment recognition switch 169 may output signalscorresponding to the installation and separation of the input unit 168to the controller 110. The attachment/detachment recognition switch 169may be configured to directly and/or indirectly contact the input unit168 when the input unit 168 is mounted. Accordingly, theattachment/detachment recognition switch 169 generates a signalcorresponding to the attachment or the detachment (that is, a signalnotifying of the attachment or the detachment of the input unit 168)based on whether the attachment/detachment recognition switch 169 isconnected with the input unit 168 and then outputs the generated signalto the controller 110.

The sensor module 170 includes at least one sensor for detecting a stateof the first electronic device 100. For example, the sensor module 170may include a proximity sensor for detecting whether a user approachesthe first electronic device 100, a luminance sensor (not shown) fordetecting an amount of light incident to the first electronic device100, a motion sensor (not shown) for detecting a movement of the firstelectronic device 100 (for example, a rotation, acceleration orvibration of the first electronic device 100), a gyroscope for detectinga rotational movement of the first electronic device 100, anaccelerometer for detecting an acceleration movement of the firstelectronic device 100, a geo-magnetic sensor for detecting a point of acompass of the first electronic device 100 by using a magnetic field ofthe Earth, a gravity sensor for detecting a direction of gravity, analtimeter for measuring atmospheric pressure to detect an altitude, aGPS module 157 or the like.

The GPS module 157 may receive electric waves from a plurality of GPSsatellites (not shown) in Earth's orbit and calculate a position of thefirst electronic device 100 by using a time of arrival from the GPSsatellites to the first electronic device 100.

The storage unit 175 can store a signal or data input/output accordingto the operation of the communication unit 120, the multimedia module140, the camera module 150, the input/output module 160, the sensormodule 170, or the touch screen 190, under a control of the controller110. The storage unit 175 may store a control program and applicationsfor controlling the first electronic device 100 or the controller 110.

The term “storage unit” is used as a term which refers to a data storagedevice such as the storage unit 175, the ROM 112 or the RAM 113 withinthe controller 110, or a memory card (for example, an SD card or amemory stick) installed in the first electronic device 100. The storageunit 175 may include a non-volatile memory, a volatile memory, or a HardDisk Drive (HDD) or a Solid State Drive (SSD).

Further, the storage unit 175 may store one or more application such asa navigation application, a video call application, a game application,or an alarm application based on time, images for providing a GraphicalUser Interface (GUI) relating to the application, a database or datarelating to a wireless connection method, documents, background imagesor operation programs, e.g., a menu screen, a standby screen, and thelike, necessary for an operation of the application on the portabledevice 100.

Furthermore, the storage unit 175 may store a program and related datafor executing the wireless connection method using the Out Of Band (OOB)channel according to the present disclosure.

The storage unit 175 is for example, a computer-readable medium forproviding data to the machine so that the machine performs a specificfunction. The storage unit 175 may include a non-volatile medium and avolatile medium and allows the commands transferred by the media to bedetected by a physical instrument in which the machine reads thecommands into the physical instrument.

The machine-readable medium includes, but is not limited to, at leastone of a floppy disk, a flexible disk, a hard disk, a magnetic tape, aCompact Disc Read-Only Memory (CD-ROM), an optical disk, a punch card, apaper tape, a RAM, a Programmable Read-Only Memory (PROM), an ErasablePROM (EPROM), and a Flash EPROM.

The electric power supply unit 180 may supply electric power to one ormore batteries arranged in the housing of the first electronic device100 under a control of the controller 110. The one or more batteriessupply the first electronic device 100 with electric power. Further, theelectric power supply unit 180 may supply electric power input from anexternal electric power source through a wired cable connected to theconnector 165 to the first electronic device 100. In addition, theelectric power supply unit 180 may supply electric power input from theexternal electric power source through a wireless charging technology tothe first electronic device 100.

Furthermore, the first electronic device 100 may include at least onetouch screen 190 providing user graphical interfaces corresponding tovarious services (for example, a phone call, data transmission,broadcasting, and photographing) to the user.

The touch screen 190 can output an analog signal corresponding to atleast one user input which is provided to the user graphical interface,to the touch screen controller 195.

The touch screen 190 can receive at least one user input through auser's body (for example, fingers including a thumb) or the input unit168 (for example, a stylus pen or an electronic pen).

The touch screen 190 can receive successive motions of one touch (thatis, a drag input). The touch screen 190 can output an analog signalcorresponding to the successive motions of the input touch to the touchscreen controller 195.

The touch input is not limited to a contact between the touch screen 190and the finger or input unit 168, and may include a noncontact such as,for example, a case where the user input means is located within arecognition distance (for example, 1 cm) where the user input means canbe detected without a direct contact. A distance or interval withinwhich the user input means may be recognized in the touch screen 190 maybe changed according to the performance or the structure of the firstelectronic device 100. Particularly, the touch screen 190 is configuredto output different values (for example, including a voltage value or acurrent value as an analog value) according to the touch input type sothat the direct touch and the indirect touch event (that is, thehovering event) can be distinguished.

The touch screen 190 may be implemented in a resistive type, acapacitive type, an infrared type, an acoustic wave type, or acombination thereof.

Further, the touch screen 190 may include at least two touch screenpanels capable of detecting a finger input and a pen input respectively,in order to distinguish the type of input. With the user input means, aclassification of a passive type and an active type can be achievedaccording to whether energy such as electronic waves, electromagneticwaves and the like are generated or induced. The two or more touchpanels provide different output values to the touch screen controller195. Then, the touch screen controller 195 can recognize the differentvalues input to the two or more touch panels to distinguish whether theinput from the touch screen 190 is an input by the finger or an input bythe input unit 168. For example, the touch screen 190 may be acombination of a capacitive typed touch screen panel and anelectromagnetic resonance typed touch screen panel. Further, asdescribed above, the touch screen 190 may include touch keys such as themenu button 161 b, the back button 161 c and like, and accordingly, afinger input according to the present disclosure or a finger input onthe touch screen 190 includes a touch input on the touch key.

The touch screen controller 195 converts an analog signal received fromthe touch screen 190 to a digital signal and transmits the converteddigital signal to the controller 110. The controller 110 can control thetouch screen 190 by using the digital signal received from the touchscreen controller 195. For example, the controller 110 allows ashort-cut icon (not shown) or an object displayed on the touch screen190 to be selected or executed in response to the direct touch event orthe hovering event. Further, the touch screen controller 195 may beintegrated with the controller 110.

The touch screen controller 195 can identify a hovering interval ordistance as well as a position of the user input by detecting a value(for example, an electric current value or the like) output through thetouch screen 190, convert the identified distance value to a digitalsignal (for example, a Z coordinate), and then provide the converteddigital signal to the controller 110. Further, the touch screencontroller 190 can detect a pressure applied to the touch screen 190 bythe user input means by detecting the value (for example, the currentvalue or the like) output through the touch screen 190, convert theidentified pressure value to a digital signal, and then provide theconverted digital signal to the controller 110.

FIG. 2 is a perspective view illustrating a front surface of theelectronic device according to an embodiment of the present disclosureand FIG. 3 is a perspective view illustrating a rear surface of theelectronic device according to an embodiment of the present disclosure.

Referring to FIGS. 2 and 3, the touch screen 190 is disposed at a centerportion on the front surface 101 of the first electronic device 100. Thetouch screen 190 may have a large size to occupy most of the frontsurface 101 of the first electronic device 100. FIG. 2 shows an examplewhere a main home screen is displayed on the touch screen 190. The mainhome screen is an initial screen that is displayed when the firstelectronic device 100 is turned on. Further, when the electronic device100 includes a plurality of different home screens, the main home screenmay be the first home screen among the plurality of pages of homescreens. Short-cut icons 191-1, 191-2, and 191-3 for executingfrequently used applications, a main menu switching key 191-4, time,weather and the like may be displayed on the home screen. When the userselects the main menu switching key 191-4, the menu screen is displayedon the touch screen 190. Further, a status bar 192 which displays thestatus of the first electronic device 100 such as a battery chargingstatus, a received signal intensity, and a current time may be arrangedon an upper end of the touch screen 190.

The touch keys such as the home button 161 a, the menu button 161 b, theback button 161 c and the like, mechanical keys, or a combinationthereof may be arranged at a lower portion of the touch screen 190.Further, the touch keys may be constituted as a part of the touch screen190.

The home button 161 a displays the main home screen on the touch screen190. For example, when the home button 161 a is selected, the main homescreen may be displayed on the touch screen 190. Further, when the homebutton 161 a is selected while applications are executed on the touchscreen 190, the main home screen shown in FIG. 2 may be displayed on thetouch screen 190. In addition, the home button 161 a may be used todisplay recently used applications or a task manager on the touch screen190.

The menu button 161 b provides a connection menu which can be displayedon the touch screen 190. The connection menu includes a widget additionmenu, a background screen changing menu, a search menu, an editing menu,an environment setting menu and the like.

The back button 161 c may be used for displaying the screen which wasexecuted just before the currently executed screen or terminating themost recently used application.

The first electronic device 100 may have the first camera 151, theluminance sensor 170 a and the proximity sensor 170 b arranged on anupper side of the front surface 101 thereof. Referring to FIG. 3, thefirst electronic device 100 may have the second camera 152, the flash153 and the speaker 163 which are disposed on the rear surface 103thereof.

Referring to both FIGS. 2 and 3, an electric power/lock button 161 d,volume buttons 161 e having a volume increase button 161 f and a volumedecrease button 161 g, a terrestrial DMB antenna 141 a for broadcastingreception, and one or a plurality of microphones 162 may be disposed ona side surface 102 of the first electronic device 100. The DMB antenna141 a may be fixed to the first electronic device 100 or may be mountedto be detachable from the first electronic device 100.

Further, the connector 165 is arranged on a side surface of a lower endof the first electronic device 100. A plurality of electrodes is formedin the connector 165, and the connector 165 may be connected to anexternal device by a wire. The earphone connecting jack 167 may bearranged on an upper side surface of the first electronic device 100. Anearphone may be inserted into the earphone connecting jack 167.

Further, the first electronic device 100 has the input unit 168 which isinserted therein through a side surface of a lower end thereof. Theinput unit 168 may be inserted and stored in the first electronic device100, or drawn back or separated from the first electronic device 100when it is used.

The controller 110 controls whole operations of the first electronicdevice 100, and also controls structural elements in the firstelectronic device 100 to perform the wireless connection method using anout of band channel.

FIG. 4 is a block diagram of the first electronic device for performingthe wireless connection method using the out of band channel accordingto an embodiment of the present disclosure.

The communication unit 120 includes the mobile communication module 121for performing cellular communication or mobile communication using athird or fourth generation communication scheme, and thesub-communication module 130 for carrying out wireless LAN communicationand short range communication. The sub-communication module 130 includesthe wireless LAN module 131 and the short range communication module132. The mobile communication module 121 may be referred to as acellular communication module.

The wireless LAN module 131 may include the WiFi module 210 for carryingout WiFi communication using the antenna and the WiFi Direct module 212for performing WiFi direct communication using the antenna.

The short range communication module 132 includes an acousticcommunication module 220 for performing acoustic communication using aspeaker 163 and a microphone 162 of the input/output module 160, anultrasonic communication module 222 for performing ultrasoniccommunication using the speaker 163 and the microphone 162 of theinput/output module 160, an optical communication module 224 forperforming optical communication using a light source such as a flash153 or the touch screen 190 and a light receiving unit such as thecamera module 150, a magnetic field communication module 226 forperforming magnetic field communication using the antenna, and theBluetooth module 228 for performing Bluetooth communication using theantenna. An infrared ray, a visible ray or the like may be used for theoptical communication.

The controller 110 transmits or receives content data such as a text, anaudio file or an image (stationary image or video), or wirelessconnection data through a main wireless channel (or referred to as amain wireless communication channel) provided by the sub-communicationmodule 130 or the mobile communication module 121. The controller 100transmits or receives hash data through the out of band channel providedby the sub-communication module 130 or the mobile communication module121. The out of band channel is used not for the transmission of thecontent data but for the transmission of the wireless connection data.The main wireless channel and the out of band channel may be providedthrough different communication schemes or provided to be distinguishedfrom each other even in the same communication scheme (by usingdifferent frequencies, different data formats, or the like). The out ofband channel and the main wireless channel may use an identical schemeor different schemes among the acoustic communication scheme, theultrasonic communication scheme, the optical communication scheme, themagnetic field communication scheme, the Bluetooth communication scheme,the WiFi communication scheme, the WiFi-Direct communication scheme, andthe cellular communication scheme (i.e., third or fourth generationmobile communication scheme). Alternatively, the out of band channel maybe provided by using one of the acoustic communication scheme, theultrasonic communication scheme, the optical communication scheme andthe magnetic field communication scheme, and the main wireless channelmay be provided by using one of the Bluetooth communication scheme, theWiFi communication scheme and the WiFi-Direct communication scheme.

The controller 110 receives a second hash value from a second electronicdevice located near the first electronic device 100 through the out ofband channel and stores the received second hash value.

Further, the controller 110 may calculate a first hash value of firstdevice identification information on the first electronic device 100,and transmit the first calculated hash value to the second electronicdevice in the storage unit 175.

The controller 110 receives second device identification information ofthe second electronic device from the second electronic device throughthe main wireless channel. The controller 110 calculates a third hashvalue of the second device identification information, and compares thethird hash value with the second hash value. If the values areidentical, the controller 110 establishes the wireless connection withthe second electronic device.

Furthermore, as having transmitted the first device identificationinformation of the first electronic device 100 through the main wirelesschannel and received a request for a wireless connection from the secondelectronic device, the controller 110 may establish the wirelessconnection with the second electronic device in response to the requestof the wireless connection.

FIG. 5 is a flowchart illustrating the wireless connection process usingthe out of band channel according to the first embodiment of the presentdisclosure and FIG. 6 is a schematic view illustrating the wirelessconnection process using the out of band channel according to anembodiment of the present disclosure.

Referring to FIG. 6, the second electronic device 100 a has a structuresimilar to that of the first electronic device 100 shown in FIG. 1.

The wireless connection process using the out of band channel includesoperations S110, S120, S130 and S140.

Referring to FIG. 5, in operation S110, the first electronic device 100receives the hash value from the second electronic device 100 a throughthe out of band channel. The second electronic device 100 a calculates afirst hash value HASH1 of device identification information andtransmits the first calculated hash value to the first electronic device100 through the out of band channel. In this embodiment, the secondelectronic device 100 a uses the out of band channel in the acousticcommunication scheme, and transmits acoustic waves modulated with thefirst hash value by using the speaker 163 a. The device identificationinformation includes at least one of various pieces of information suchas a network address (device address, a Media Access Control (MAC)address, a MAC address of an access point, a Basic Service SetIdentifier (BSSID), or the like), a device identifier (a device name, aService Set Identifier (SSID) or the like), authorization information (aPersonal Identification Number (PIN), a shared secret key, a pairingkey, a network key or the like), authorization information/encryptiontype, a type of device and the like. The second electronic device 100 ainputs the network address and the device identifier into a hashfunction, so as to calculate the first hash value. The hash functionoutputs data with a fixed length, for example, 8 bits, regardless of alength of input data, for example, 56˜304 bits. For example, bysubstituting the device identification information of 56˜304 bits withthe hash value of 8 bits, the amount of data to be transmitted throughthe out of band channel can be reduced by 85˜97%.

The hash function may be a certain algorithm or subroutine for mapping(compressing or converting) data with a variable length (or a largeamount of data sets) to data with a fixed length (or a small amount ofdata sets).

For example, a non-cryptographic hash function such as a CyclicRedundancy Check (CRC) function, a Pearson hashing function, anObject.GetHashCode( ) or the like may be used as the hash function.Alternatively, a cryptographic hash function such as MD5, SHA-1, SHA512or the like may be used as the hash function. In this embodiment, thesecond electronic device 100 a inputs the MAC address and the SSID intothe CRC function and calculates the first hash value.

The first electronic device 100 receives acoustic waves through themicrophone 162, extracts the first hash value from the acoustic waves,and stores the first hash value in the storage unit 175.

In operation S120, the second electronic device 100 a broadcasts thedevice identification information through the main wireless channel byusing the antenna 122 a, and the first electronic device 100 receivesthe device identification information of the second electronic device100 a by scanning a surrounding electronic device. In this embodiment,the second electronic device 100 a uses the main wireless channel of theWiFi or WiFi-Direct scheme and transmits a signal that includes thedevice identification information using the antenna 122 a. The firstelectronic device 100 receives the signal through the antenna 122,extracts the device identification information, and stores the deviceidentification information in the storage unit 175.

In operation S130, the first electronic device 100 calculates a secondhash value HASH2 of the device identification information and comparesthe second hash value HASH2 with the first hash value HASH1. The firstelectronic device 100 performs operation S140 if the first and secondhash values are identical, while returning to operation S120 if thefirst and second hash values are not identical. In this embodiment, thefirst electronic device 100 extracts the MAC address and the SSID fromthe device identification information of the second electronic device100 a, and inputs the extracted MAC address and the SSID into the CRCfunction to calculate the second hash value.

In operation S140, in the case that the first and second hash values areidentical, the first electronic device 100 requests the secondelectronic device 100 a to permit the wireless connection through themain wireless channel, and the second electronic device 100 a respondsto the request of the first electronic device 100 for the wirelessconnection, thereby performing the wireless connection between the firstand second electronic devices 100 and 100 a. A message for requestingthe wireless connection which the first electronic device 100 transmitsto the second electronic device 100 a may include the deviceidentification information of the first electronic device 100, which mayinclude at least one of various pieces of information such as a networkaddress, the device identifier, authorization information, anauthorization information/encryption type, a type of device, and thelike.

After the wireless connection is formed, the first and second electronicdevices 100 and 100 a can transmit and receive content data to and fromeach other through the main wireless channel.

After transmitting the first hash value to the first electronic device100, the second electronic device 100 a can automatically broadcast thedevice identification information. The user input includes a gestureinput through the camera module, a switch/button input through theinput/output module, a voice input as well, or a user input through thetouch screen. Further, the user input includes an operation in which auser enables the second electronic device 100 a to be close in proximityto the first electronic device 100, or causes the second electronicdevice 100 a to contact the first electronic device 100.

In this embodiment, although it is described that the first electronicdevice 100 receives the device identification information of the secondelectronic device 100 a after receiving the first hash value, the firstelectronic device 100 may receive the first hash value from the firstelectronic device 100 after receiving the device identificationinformation of the second electronic device 100 a. In this case, thefirst electronic device 100 can calculate the second hash value of thedevice identification information before or after receiving the firsthash value.

In order to minimize consumption of electric power, the module forproviding the main wireless channel, for example, the wireless LANmodule or the Bluetooth module, may be in an inactive state. Then, thefirst electronic device 100 may activate the corresponding module afterreceiving the first hash value. Here, the inactive state refers to astate in that the corresponding module is configured to not receiveexternal signals or to not transmit signals.

FIG. 7 is a flowchart illustrating the wireless connection process usingthe out of band channel according to an embodiment of the presentdisclosure and FIG. 8 is a schematic view illustrating the wirelessconnection process using the out of band channel according to anembodiment of the present disclosure.

In operation S210, the first electronic device 100 receives the hashvalue from the second electronic device 100 a through the out of bandchannel and stores the hash value. The second electronic device 100 acalculates the first hash value HASH1 of the device identificationinformation and transmits the first calculated hash value to the firstelectronic device 100 through the out of band channel.

The first electronic device 100 receives and stores the first hash valuethrough the out of band channel.

FIG. 9 is a view illustrating a frame structure of a message fortransmitting a first hash value according to an embodiment of thepresent disclosure.

Referring to FIG. 9, the hash transmission message 300 of theWiFi-Direct scheme may have an entire length of 38 bits and include a 16bit hash field 310 with a hash value of the MAC address, an additionalinformation field 320 with additional information, an 2 bit action codefield 330 with an action code value which indicates a WiFi-Directpairing (a value of “00”) or an execution of a certain application (avalue of “10”) and so forth, a content type field 340 with a contenttype value which indicates a content type such as a photograph (a valueof “00”), music (a value of “01”) or the like.

In operation S215, a second, third, fourth and fifth electronic devices100 a, 100 b, 100 c and 100 d placed in proximity to the firstelectronic device 100 respectively broadcast identification informationDII2, DII3, DII4 and DII5 through the main wireless channel. The firstelectronic device 100 receives the identification information of thesecond, third, fourth and fifth electronic devices through a process ofscanning for electronic devices.

In operation S220, the first electronic device 100 calculates thesecond, third, fourth and fifth hash values HASH2, HASH3, HASH4 andHASH5 for the identification information of the second, third, fourthand fifth devices, respectively.

In operation S225, the first electronic device 100 compares the firsthash value with each of the second, third, fourth and fifth hash values.If one of the second, third, fourth and fifth hash values is identicalto the first hash value, the first electronic device 100 performsoperation S230, while if not, the first electronic device 100 returns tooperation S215.

In operation S230, the first electronic device 100 identifies whether auser is able to perform the wireless connection. For example, the firstelectronic device 100 displays a window for identifying whether it isable to perform the wireless connection with another electronic deviceon the touch screen 190 and may perform operation S235 if the userselects a confirmation button on the identification window. If the userselects the identification button of the identification window, theprocess may be finished. Alternatively, the first electronic device 100may display only a message of informing the user of the wirelessconnection with another electronic device. In other examples, operationS230 may be omitted, may be performed just after operation S210, or maybe performed before or after operations S240, S250, or S260.

In operation S235, the first electronic device 100 determines if thereare multiple calculated hash values identical to the received has value.If there are not multiple calculated hash values identical to thereceived has value, the first electronic device 100 performs operationS240. On the other hand, if there are plural hash values identical tothe first hash value, the first electronic device 100 performs operationS245.

In the case of an 8 bit hash value, probability P in that two identicalhash values cause a collision by having an identical value can becalculated by Equation (1).

$\begin{matrix}{P = {\frac{1}{2^{8}} = 0.0039}} & {{Equation}\mspace{14mu} (1)}\end{matrix}$

Accordingly, if n number of electronic devices around the firstelectronic device 100 is present, probability Pn can be calculated byEquation (2).

$\begin{matrix}{P_{n} \approx {1 - \left( {1 - \frac{1}{256}} \right)^{n}}} & {{Equation}\mspace{14mu} (2)}\end{matrix}$

For example, if ten peripheral electronic devices are present, theprobability Pn of collision is 0.038, while if twenty peripheralelectronic devices are present, the probability Pn of collision is0.075.

In the present embodiment, if a plurality of electronic devices includeidentical hash values, a method of attempting the wireless connection insequence of intensity of received signals is proposed.

In operation S240 of the wireless connection, the first electronicdevice 100 requests an electronic device, which has the hash valueidentical to the first hash value, for the wireless connection throughthe main wireless channel, and the corresponding electronic deviceresponds to the request for the wireless connection of the firstelectronic device 100 so that the first electronic device 100 iswirelessly connected to the corresponding electronic device.

In operations S245 to 260, if a plurality of hash values identical tothe first hash value is present, the wireless connections are attemptedin a sequence based on the intensity of the signals. In the presentembodiment, two hash values identical to the first hash value areillustrated. Referring back to operation S215, the first electronicdevice 100 may also measure the intensity (or Received Signal StrengthIndicator (RSSI)) of the received signals of the main wireless channelfor each electronic device when the surrounding electronic devices 100a, 100 b, 100 c and 100 d are scanned. In operation S245, the firstelectronic device 100 attempts the wireless connection with theelectronic device having the highest intensity of the received signalfrom the surrounding electronic devices that have hash values identicalto the first hash value.

In operation S250, the first electronic device 100 finishes the presentprocess if the wireless connection with the surrounding electronicdevice with the highest intensity of the received signal occurs.However, the first electronic device 100 performs operation S255 if thewireless connection fails. In operation S255, the first electronicdevice 100 requests a surrounding electronic device with the nexthighest intensity of the received signal for the wireless connection. Asthe surrounding electronic device responds to the request for thewireless connection of the first electronic device 100, the firstelectronic device 100 is wirelessly connected to another electronicdevice. In operation S260, if the first electronic device 100 succeedsin the wireless connection, the first electronic device 100 finishes thepresent process, while returning to operation S215 if the wirelessconnection fails.

After the wireless connection, the first electronic device 100 andsurrounding electronic device can transmit and receive content datato/from each other through the main wireless channel.

Meanwhile, a communication scheme providing the out of band channel ispreset, or may be automatically set.

Referring to FIG. 4, the sub-communication module 130 may be partiallydeactivated unless the user activates the modules. Accordingly, in thecase that the preset out of band channel is used, the wirelessconnection can be performed if the corresponding module of the companionelectronic device is inactive.

Referring back to FIG. 5, in operation S110, the second electronicdevice 100 a identifies whether the received signal is present in theavailable out of band channel and may transmit the first hash valuethrough the out of band channel in which the received signal is present.For example, the second electronic device 100 a determines whether aBluetooth signal is received through the Bluetooth module, and maytransmit the first hash value through the out of band channel in aBluetooth scheme if the Bluetooth signal is received. Then, as thesecond electronic device 100 a transmits the first hash value, the firstelectronic device activates the WiFi-Direct module 212 thereof.Accordingly, the first electronic device 100 can transmit and receivethe content data to and from the second electronic device 100 a throughthe main wireless channel in the WiFi-Direct scheme.

Although the touch screen has been illustrated as a representativeexample of the display unit displaying the screen in the above-describedembodiments, a general display unit, such as a Liquid Crystal Display(LCD), an Organic Light Emitting Diode (OLED), and a Light EmittingDiode (LED), which do not have a touch detection function may also beused.

According to the present disclosure, a wireless connection process canbe rapidly and simply established by using the out of band channel withlow capacity.

It may be appreciated that the various embodiments of the presentdisclosure can be implemented in software, hardware, or a combinationthereof. Any such software may be stored, for example, in a volatile ornon-volatile storage device such as a ROM, a memory such as a RAM, amemory chip, a memory device, or a memory IC, or a recordable optical ormagnetic medium such as a CD, a DVD, a magnetic disk, or a magnetictape, regardless of its ability to be erased or its ability to bere-recorded. It is appreciated that the storage unit included in theelectronic device is one example of a program including commands forimplementing various embodiments of the present disclosure or amachine-readable storage medium suitable for storing programs.Therefore, various embodiments of the present disclosure provide aprogram including codes for implementing a system or method claimed inany claim of the accompanying claims and a machine-readable device forstoring such a program. Moreover, such a program as described above canbe electronically transferred through an arbitrary medium such as acommunication signal transferred through cable or wireless connection,and the present disclosure properly includes the things equivalent tothat.

Further, the electronic device may receive the program from a programproviding apparatus connected to the electronic device wirelessly orthrough a wire and store the received program. The program providingdevice may include a program having instructions which enable theelectronic device to perform a method of controlling to display theobjects, a memory for storing information necessary for animplementation of the method of controlling to display the object, acommunication unit for performing wired or wireless communication withthe electronic device, and a controller for transmitting a correspondingprogram to another portable device automatically or in response to arequest of the electronic device.

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

What is claimed is:
 1. A wireless connection method between a pluralityof electronic devices using an out of band channel, the methodcomprising: receiving, by an electronic device, a first hash valuethrough the out of band channel; receiving, by the electronic device,device identification information of surrounding electronic devices inproximity to the electronic device through a main wireless channel;calculating, by the electronic device, hash values of the deviceidentification information; and performing, by the electronic device, awireless connection with one of the surrounding electronic devicescorresponding to the hash value identical to the first hash value amongthe calculated hash values.
 2. The method of claim 1, wherein the out ofband channel and a main wireless channel are provided by mutuallydifferent communication schemes.
 3. The method of claim 2, wherein theout of band channel and the main wireless channel are provided by twodifferent communication schemes of an acoustic communication scheme, asupersonic communication scheme, an optical communication scheme, amagnetic field communication scheme, a Bluetooth communication scheme, aWiFi communication scheme, a WiFi-Direct communication scheme and acellular communication scheme.
 4. The method of claim 1, wherein the outof band channel is provided by one of an acoustic communication scheme,a supersonic communication scheme, an optical communication scheme, amagnetic field communication scheme, a Bluetooth communication scheme, aWiFi communication scheme, a WiFi-Direct communication scheme and acellular communication scheme.
 5. The method of claim 1, wherein themain wireless channel is provided by one of an acoustic communicationscheme, a supersonic communication scheme, an optical communicationscheme, a magnetic field communication scheme, a Bluetooth communicationscheme, a WiFi communication scheme, a WiFi-Direct communication schemeand a cellular communication scheme.
 6. The method of claim 1, whereinthe out of band channel is provided by one of an acoustic communicationscheme, a supersonic communication scheme, an optical communicationscheme and a magnetic communication scheme, and the main wirelesschannel is provided by one of a Bluetooth communication scheme, a WiFicommunication scheme and a WiFi-Direct communication scheme.
 7. Themethod of claim 1, wherein the hash values are calculated by a hashfunction of mapping a relatively large amount of data sets with avariable length with a relatively small amount of data sets with a fixedlength.
 8. The method of claim 1, wherein if two or more of thesurrounding electronic devices correspond to a hash value among thecalculated hash values, identical to the first hash value are present,the electronic device is connected to a surrounding electronic devicewhich has a strongest received signal from among the two or more of thesurrounding devices.
 9. The method of claim 1, wherein, the performingof the wireless connection of the electronic device comprises activatinga communication module.
 10. The method of claim 8, wherein thecommunication module is in an inactive state and is configured totransmit information through the main wireless channel.
 11. Anon-transitory computer-readable storage medium with instructions storedtherein which upon execution cause at least one processor to: receiving,by an electronic device, a first hash value through the out of bandchannel; receiving, by the electronic device, device identificationinformation of surrounding electronic devices in proximity to theelectronic device through a main wireless channel; calculating, by theelectronic device, hash values of the device identification information;and performing, by the electronic device, a wireless connection with oneof the surrounding electronic devices corresponding to the hash valueidentical to the first hash value among the calculated hash values. 12.An electronic device using an out of band channel, the electronic devicecomprising: a communication unit configured to communicate withsurrounding electronic devices; a storage unit configured to store data;and a controller configured to receive and store a first hash valuethrough the out of band channel provided by the communication unit, toreceive second device identification information of a surroundingelectronic device through a main wireless channel provided by thecommunication unit, to calculate a second hash value based on the seconddevice identification information, and to perform a wireless connectionwith the surrounding electronic device through the main wireless channelif the second hash value is identical to the first hash value.
 13. Theelectronic device of claim 12, wherein the out of band channel and amain wireless channel are provided by mutually different communicationschemes.
 14. The electronic device of claim 13, wherein the out of bandchannel and the main wireless channel are provided by two differentcommunication schemes of an acoustic communication scheme, a supersoniccommunication scheme, an optical communication scheme, a magnetic fieldcommunication scheme, a Bluetooth communication scheme, a WiFicommunication scheme, a WiFi-Direct communication scheme and a cellularcommunication scheme.
 15. The electronic device of claim 12, wherein theout of band channel is provided by one of an acoustic communicationscheme, a supersonic communication scheme, an optical communicationscheme, a magnetic field communication scheme, a Bluetooth communicationscheme, a WiFi communication scheme, a WiFi-Direct communication schemeand a cellular communication scheme.
 16. The electronic device of claim12, wherein the main wireless channel is provided by one of an acousticcommunication scheme, a supersonic communication scheme, an opticalcommunication scheme, a magnetic field communication scheme, a Bluetoothcommunication scheme, a WiFi communication scheme, a WiFi-Directcommunication scheme and a cellular communication scheme.
 17. Theelectronic device of claim 12, wherein when receiving a first hash valuethrough the out of band channel, the controller is configured toactivate a corresponding module of the communication unit providing themain wireless channel.
 18. The electronic device of claim 12, whereinthe controller is configured to transmit and receive content datato/from the surrounding electronic device through the main wirelesschannel.
 19. The electronic device of claim 12, wherein the out of bandchannel is provided by one of an acoustic communication scheme, asupersonic communication scheme, an optical communication scheme and amagnetic field communication scheme, and the main wireless channel isprovided by one of a Bluetooth communication scheme, a WiFicommunication scheme and a WiFi-Direct communication scheme.
 20. Theelectronic device of claim 12, wherein the hash value is calculated by ahash function of mapping a relatively large amount of data sets with avariable length with a relatively small amount of data sets with a fixedlength.